<template >
    <div>
      
        <van-grid :column-num="2">
            <van-grid-item v-for="(item,index) in list" :key="index" >
                <van-image :src="item.pic"></van-image>
            </van-grid-item>
          </van-grid>
    </div>
</template>
<script>
    import axios from 'axios'
export default {
        data(){
            return {
                list:[],
            }
        },
            created(){
                this.getlb();
            },
        methods:{
            getlb(){
                axios.get('/list1.json').then(res=>{
                    console.log(res.data);
                    this.list = res.data.result
                })
            }
        },
}
</script>
<style lang="">
    
</style>